package org.NooLab.docserver.storage.db.iciql;

import java.lang.reflect.Field;
import java.lang.reflect.Method;

import org.NooLab.itexx.storage.DbFieldRequest;
import org.NooLab.itexx.storage.db.iciql.AliasAbstract;

import com.iciql.Iciql.IQColumn;
import com.iciql.Iciql.IQIndex;
import com.iciql.Iciql.IQIndexes;
import com.iciql.Iciql.IQTable;


@IQTable
@IQIndexes({ @IQIndex({ "location" }), 
             @IQIndex(name = "folder", value = "location") })

public class Folders extends AliasAbstract {

	
	@IQColumn(primaryKey = true, autoIncrement =true)
	public Long id;

	@IQColumn(length = 40, trim = true)
	public String guid;

	@IQColumn(trim = true, nullable=false)   // name="foldername" would expect a physical field "foldername" 
	public String location;  // NOT NULL, ???????

	@IQColumn ( nullable=true )
	public Integer isremote;

	@IQColumn ( nullable=true )
	public Long changedate;

	@IQColumn ( nullable=false )
	public Integer status; //  NOT NULL

		
}
